package com.zheng.common.constant;

import org.apache.activemq.command.ActiveMQQueue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import javax.jms.Queue;

/**
 * @Description:
 * @author lvb
 * @date 2017-07-05
 * @version V1.0
 * @Copyright:
 */
public class MqConstant {

    /**
     * 服务器端支付相关队列
     */
    public static final String ZHENG_SERVER_QUEUE_PAY_NOTIFY_PAY_NAME = "bjs.server.queue.pay.notify.pay";
    public static final String ZHENG_SERVER_QUEUE_PAY_NOTIFY_MCH_NAME = "bjs.server.queue.pay.notify.mch";
    public static final String ZHENG_SERVER_QUEUE_PAY_NOTIFY_TRANS_NAME = "bjs.server.queue.pay.notify.trans";
    public static final String ZHENG_SERVER_QUEUE_PAY_NOTIFY_REFUND_NAME = "bjs.server.queue.pay.notify.refund";
    public static final String ZHENG_SERVER_QUEUE_PAY_NOTIFY_MCH_PAY_NAME = "bjs.server.queue.pay.notify.mch.pay";
    public static final String ZHENG_SERVER_QUEUE_PAY_NOTIFY_MCH_TRANS_NAME = "bjs.server.queue.pay.notify.mch.trans";
    public static final String ZHENG_SERVER_QUEUE_PAY_NOTIFY_MCH_REFUND_NAME = "bjs.server.queue.pay.notify.mch.refund";
    /**
     * 伞机端订阅频道
     */
    public static final String ZHENG_CLIENT_TOPIC_UMBRELLA_MACHINE_NAME = "bjs.client.topic.umbrella.machine";
    /**
     * 小程序订阅频道
     */
    public static final String ZHENG_CLIENT_TOPIC_UMBRELLA_WECHATAPP_NAME = "bjs.client.topic.umbrella.wechatapp";
    /**
     * 服务器端伞机业务处理队列
     */
    public static final String ZHENG_SERVER_QUEUE_UMBRELLA_MACHINE_NAME = "bjs.server.queue.umbrella.machine";
    /**
     * 服务器端伞机业务处理频道
     */
    public static final String ZHENG_SERVER_TOPIC_UMBRELLA_MACHINE_NAME = "bjs.server.topic.umbrella.machine";
    /**
     * 服务器端小程序业务处理队列
     */
    public static final String ZHENG_SERVER_QUEUE_UMBRELLA_WECHATAPP_NAME = "bjs.server.queue.umbrella.wechatapp";
    /**
     * 服务器端小程序业务处理频道
     */
    public static final String ZHENG_SERVER_TOPIC_UMBRELLA_WECHATAPP_NAME = "bjs.server.topic.umbrella.wechatapp";

    /**
     * 点对点订阅属性及频道后缀
     */
    public static final String PTP_CLIENTID = "clientId";
    public static final String PTP_SUFFIX = "/PTP";
}
